package com.zygh.policeasset.mapper;

import com.zygh.policeasset.pojo.AssetsManagementFile;
import com.zygh.policeasset.pojo.AssetsManagementFileDto;
import java.util.List;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

@Mapper
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/mapper/AssetsManagementFileMapper.class */
public interface AssetsManagementFileMapper {
    @Select({"select * from assets_management_file order by id"})
    @Results({@Result(property = "createDateTime", column = "create_datetime")})
    List<AssetsManagementFile> findAll();

    @Insert({"insert into assets_management_file (name,path,create_datetime) values (#{name},#{path},#{createDateTime})"})
    Integer add(AssetsManagementFileDto assetsManagementFileDto);

    @Delete({"delete from assets_management_file where id=#{id}"})
    Integer remove(int i);
}